Optimal. Leaf size=46 \[ \frac{2 \left (a+b x^3\right )^{5/2} (A b-a B)}{15 b^2}+\frac{2 B \left (a+b x^3\right )^{7/2}}{21 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0399532, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {444, 43} \[ \frac{2 \left (a+b x^3\right )^{5/2} (A b-a B)}{15 b^2}+\frac{2 B \left (a+b x^3\right )^{7/2}}{21 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 444
Rule 43
Rubi steps
\begin{align*} \int x^2 \left (a+b x^3\right )^{3/2} \left (A+B x^3\right ) \, dx &=\frac{1}{3} \operatorname{Subst}\left (\int (a+b x)^{3/2} (A+B x) \, dx,x,x^3\right )\\ &=\frac{1}{3} \operatorname{Subst}\left (\int \left (\frac{(A b-a B) (a+b x)^{3/2}}{b}+\frac{B (a+b x)^{5/2}}{b}\right ) \, dx,x,x^3\right )\\ &=\frac{2 (A b-a B) \left (a+b x^3\right )^{5/2}}{15 b^2}+\frac{2 B \left (a+b x^3\right )^{7/2}}{21 b^2}\\ \end{align*}
Mathematica [A] time = 0.0252422, size = 34, normalized size = 0.74 \[ \frac{2 \left (a+b x^3\right )^{5/2} \left (-2 a B+7 A b+5 b B x^3\right )}{105 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 31, normalized size = 0.7 \begin{align*}{\frac{10\,bB{x}^{3}+14\,Ab-4\,Ba}{105\,{b}^{2}} \left ( b{x}^{3}+a \right ) ^{{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.924079, size = 66, normalized size = 1.43 \begin{align*} \frac{2 \,{\left (b x^{3} + a\right )}^{\frac{5}{2}} A}{15 \, b} + \frac{2}{105} \,{\left (\frac{5 \,{\left (b x^{3} + a\right )}^{\frac{7}{2}}}{b^{2}} - \frac{7 \,{\left (b x^{3} + a\right )}^{\frac{5}{2}} a}{b^{2}}\right )} B \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.58608, size = 162, normalized size = 3.52 \begin{align*} \frac{2 \,{\left (5 \, B b^{3} x^{9} +{\left (8 \, B a b^{2} + 7 \, A b^{3}\right )} x^{6} - 2 \, B a^{3} + 7 \, A a^{2} b +{\left (B a^{2} b + 14 \, A a b^{2}\right )} x^{3}\right )} \sqrt{b x^{3} + a}}{105 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.78142, size = 165, normalized size = 3.59 \begin{align*} \begin{cases} \frac{2 A a^{2} \sqrt{a + b x^{3}}}{15 b} + \frac{4 A a x^{3} \sqrt{a + b x^{3}}}{15} + \frac{2 A b x^{6} \sqrt{a + b x^{3}}}{15} - \frac{4 B a^{3} \sqrt{a + b x^{3}}}{105 b^{2}} + \frac{2 B a^{2} x^{3} \sqrt{a + b x^{3}}}{105 b} + \frac{16 B a x^{6} \sqrt{a + b x^{3}}}{105} + \frac{2 B b x^{9} \sqrt{a + b x^{3}}}{21} & \text{for}\: b \neq 0 \\a^{\frac{3}{2}} \left (\frac{A x^{3}}{3} + \frac{B x^{6}}{6}\right ) & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.18997, size = 162, normalized size = 3.52 \begin{align*} \frac{2 \,{\left (35 \,{\left (b x^{3} + a\right )}^{\frac{3}{2}} A a + 7 \,{\left (3 \,{\left (b x^{3} + a\right )}^{\frac{5}{2}} - 5 \,{\left (b x^{3} + a\right )}^{\frac{3}{2}} a\right )} A + \frac{7 \,{\left (3 \,{\left (b x^{3} + a\right )}^{\frac{5}{2}} - 5 \,{\left (b x^{3} + a\right )}^{\frac{3}{2}} a\right )} B a}{b} + \frac{{\left (15 \,{\left (b x^{3} + a\right )}^{\frac{7}{2}} - 42 \,{\left (b x^{3} + a\right )}^{\frac{5}{2}} a + 35 \,{\left (b x^{3} + a\right )}^{\frac{3}{2}} a^{2}\right )} B}{b}\right )}}{315 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]